package com.naiterui.ehp.bs.b2c.cart.vo;

import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author guoyongxiang
 * @date 2019-05-14 10:46
 * @since 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CartProductVO {

    @ApiModelProperty(value = "skuId")
    private Long skuId;

    @ApiModelProperty(value = "商品名(商品标题)")
    private String name;

    @ApiModelProperty(value = "商品图标")
    private String icon;

    @ApiModelProperty(value = "是否处方药(0:非处方, 1:处方)")
    private Integer rx;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @Fen2Yuan
    @ApiModelProperty(value = "售价")
    private Integer salePrice;

}
